package com.sg.qcgl.app.ball_team.convertor;

import com.sg.qcgl.client.ball_team.dto.command.BallTeamAddCmd;
import com.sg.qcgl.client.ball_team.dto.command.BallTeamUpdateCmd;
import com.sg.qcgl.domain.ball_team.model.BallTeam;
import com.sg.qcgl.client.ball_team.vo.BallTeamVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface BallTeamStructMapper {


    BallTeamStructMapper INSTANCE = Mappers.getMapper(BallTeamStructMapper.class);

    BallTeam toModel(BallTeamAddCmd ballTeamAddCmd);

    BallTeam toModel(BallTeamUpdateCmd ballTeamUpdateCmd);

    BallTeamVO toVO(BallTeam ballTeam);
}